var dst = {
    name: 'angular',
    obj : {
        arr1: [1, 2, 3]
    }
};
var src = {
    name: 'javascript',
    obj : {
        arr2: [4, 5, 6]
    }
};
angular.merge(dst, src, {
    v: 3
});
console.log(dst);